<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Use IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset={$charset}" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
{$page_seo}
<link href="{res file=css/style.css}" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="sub-body">
<div class="tab-frame">
    <div class="tab-title-1"><span>采购清单</span></div>
<table cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1" style="width:600px;">
	<!--{foreach from=$list item=sourcing name=s}-->
	<tr>
		<td width="100">采购单号</td>
		<td width="100">样板号</td>
		<td width="80">跟单</td>
		<td colspan="2">采购项目</td>
	</tr>
	<!--{foreach from=$sourcing.item item=item name=i}-->
	<tr>
	<!--{if $smarty.foreach.i.first}-->
		<td>{$sourcing.list_sn}</td>
		<!--{if $sourcing.order_sn}-->
		<td>{$sourcing.order_sn}</td>
		<!--{else}-->
		<td>{$sourcing.sample_sn}</td>
		<!--{/if}-->
		<td>{$sourcing.user_name}</td>
	<!--{elseif $smarty.foreach.i.iteration == 2}-->
		<td colspan="3" rowspan="{$sourcing.countitem}"></td>
	<!--{/if}-->
		<td width="20">{$smarty.foreach.i.iteration}</td>
		<td class="tab-align-l">{$item.sourcing_info}</td>
	</tr>
	<!--{/foreach}-->
	<!--{/foreach}-->
	<tr>
		<td colspan="5"><input type="button" value="打印" class="btn-2" onClick="this.parentNode.parentNode.style.display='none';window.print();this.parentNode.parentNode.style.display='';" /></td>
	</tr>
</table>
</div>
</div>
<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</body>
</html>